<?php

namespace app\api\controller;

use app\BaseController;

class City extends BaseController
{
    // http://192.168.4.3:8000/api/City/index
    public function index()
    {
        $arrData = [
            'name' => 'walter',
            'age' => 29
        ];
        return json($arrData);
    }
}